/* Field exploration has a scene-first layout; shelter management is unchanged. */
body.expedition-open.world-page-open .layout { grid-template-columns: minmax(0, 1fr) !important; }
body.expedition-open.world-page-open #leftSidebar, body.expedition-open.world-page-open #rightSidebar { display: none !important; }
body.expedition-open.world-page-open .mobile-sidebar-controls { display: none !important; }
.world-location-scene.has-expedition { min-height: 0 !important; }
.world-location-scene.has-expedition > .world-location-scene__overlay { display: flex !important; flex-direction: column; min-height: 0 !important; gap: 12px; padding: clamp(8px, 1.2vw, 18px); background: #0b100e; }
.has-expedition .world-location-header { padding: 12px 16px; box-shadow: none; background: #121a15; }
.has-expedition .world-location-header h2 { font-size: clamp(1.15rem, 2vw, 1.65rem); }
.has-expedition #worldLocationDescription { display: none; }
.has-expedition .world-location-actions-panel { width: 100%; box-sizing: border-box; }
.has-expedition .world-location-actions-panel[hidden] { display: none; }
.expedition-hud { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; padding: 4px 4px 12px; font-size: .78rem; color: #bfcbbf; }
.expedition-route-label { color: #b9d58b; font-size: .66rem; font-weight: 800; letter-spacing: .14em; margin-right: auto; }
.expedition-bag { background: #202c22; border: 1px solid #586746; border-radius: 7px; color: #ebf1de; padding: 7px 11px; font: inherit; cursor: pointer; }
.expedition-noise { display: flex; align-items: center; gap: 8px; }
.expedition-noise-bars { display: flex; gap: 3px; }
.expedition-noise-bars i { height: 13px; width: 5px; background: #303a30; border-radius: 2px; }
.expedition-noise-bars .is-filled { background: #c7ba78; }
.expedition-noise[data-level=high] .is-filled { background: #e19268; }
.expedition-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 300px); gap: 0; border: 1px solid #3c493b; border-radius: 12px; overflow: hidden; }
.expedition-stage { position: relative; align-self: start; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; isolation: isolate; background: #0c120e; }
.expedition-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; filter: brightness(1.22); }
.expedition-stage[data-night=true] .expedition-backdrop { filter: brightness(.72) saturate(.65) sepia(.1); }
.expedition-vignette { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, #050b0ccc, transparent 24%), radial-gradient(ellipse, transparent 40%, #03110d44); }
.expedition-weather { position: absolute; inset: -60%; pointer-events: none; opacity: .12; background: repeating-linear-gradient(105deg, transparent 0 87px, #c8e4cb70 88px, transparent 89px 173px); transform: rotate(4deg); animation: expedition-rain 9s linear infinite; }
.expedition-path { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.expedition-path path { fill: none; stroke: #e1dab6; stroke-width: .24; stroke-dasharray: .7 .8; opacity: .65; }
.expedition-player { position: absolute; z-index: 2; transform: translate(-50%, -50%); color: #f8eed0; text-shadow: 0 2px 5px #000; font-size: 19px; pointer-events: none; transition: left .7s ease, top .7s ease; }
.expedition-pin { position: absolute; z-index: 3; transform: translate(-50%, -50%); padding: 0; border: none; background: transparent; color: #f6f2db; cursor: pointer; display: grid; justify-items: center; gap: 5px; min-width: 44px; min-height: 44px; }
.expedition-pin__dot { display: grid; place-items: center; width: 38px; height: 38px; border: 2px solid #d4bd77; border-radius: 50%; background: #15271ced; box-shadow: 0 0 0 5px #111b1466, 0 3px 12px #000; font-weight: 850; transition: transform .18s, background .18s; }
.expedition-pin:hover .expedition-pin__dot, .expedition-pin.is-selected .expedition-pin__dot { background: #b8cf7a; color: #132113; transform: scale(1.12); }
.expedition-pin__label { border-radius: 4px; background: #09120de8; padding: 4px 7px; font-size: clamp(.6rem, .85vw, .78rem); white-space: nowrap; box-shadow: 0 2px 7px #0006; }
.expedition-pin.is-cleared .expedition-pin__dot { border-color: #869d82; background: #263c2d; color: #bed5b3; }
.expedition-pin:focus-visible { outline: 2px solid #e4ddae; outline-offset: 8px; border-radius: 20px; }
.expedition-scene-caption { position: absolute; bottom: 0; left: 0; right: 0; margin: 0; padding: 12px 16px; color: #d8dfd0; font-size: .76rem; text-shadow: 0 1px 3px black; pointer-events: none; }
.expedition-detail { background: #151f18; padding: 20px; min-width: 0; border-left: 1px solid #3c493b; }
.expedition-detail h3 { margin: 4px 0 12px; font-size: 1.2rem; color: #f2efdf; }
.expedition-detail p { font-size: .84rem; color: #bfcab8; line-height: 1.6; }
.expedition-detail .expedition-eyebrow { color: #cfba7e; font-size: .58rem; letter-spacing: .14em; margin: 0; }
.expedition-detail > small { font-size: .6rem; color: #99ab91; letter-spacing: .1em; }
.expedition-previews { display: flex; gap: 7px; margin: 9px 0 16px; }
.expedition-previews img { width: 42px; height: 42px; border: 1px solid #40513d; border-radius: 6px; object-fit: cover; }
.expedition-method { width: 100%; display: grid; gap: 5px; text-align: left; padding: 12px; background: #263722; color: #edf3de; border: 1px solid #64774c; border-radius: 8px; margin-top: 8px; cursor: pointer; transition: background .18s, transform .18s; }
.expedition-method:hover:not(:disabled) { background: #36492d; transform: translateY(-2px); }
.expedition-method span { font-size: .7rem; color: #e0c88d; }
.expedition-method small { font-size: .68rem; line-height: 1.4; }
.expedition-method:disabled { cursor: not-allowed; opacity: .55; }
.expedition-result { padding: 12px; border: 1px solid #637e48; border-radius: 8px; background: #24351e; animation: expedition-find .35s ease-out; }
.expedition-result > strong { font-size: .86rem; }
.expedition-result-item { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: .8rem; }
.expedition-result-item img { width: 44px; height: 44px; object-fit: cover; border-radius: 6px; }
.expedition-detail .expedition-warning { color: #ebb08d; }
.expedition-object-list { display: grid; gap: 8px; margin-top: 22px; }
.expedition-object-link { border: 1px solid #46593d; border-radius: 6px; background: transparent; color: #d9e5c8; text-align: left; padding: 10px; cursor: pointer; }
.expedition-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 0; }
.expedition-footer > span { font-size: .7rem; color: #99ab94; }
.expedition-field-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.expedition-field-actions .button { min-height: 38px; font-size: .72rem; padding: 8px 12px; }
@keyframes expedition-rain { to { translate: -80px 110px; } }
@keyframes expedition-find { from { opacity: .25; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 1100px) {
  .expedition-layout { grid-template-columns: 1fr; }
  .expedition-detail { border-left: none; border-top: 1px solid #3c493b; padding: 16px; }
  .expedition-object-list { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 12px; }
  .expedition-stage { aspect-ratio: 16 / 9; }
}
@media (max-width: 600px) {
  body.expedition-open .topbar { display: flex; flex-direction: row; align-items: center; gap: 8px; margin-bottom: 8px; }
  body.expedition-open .topbar .eyebrow { display: none; }
  body.expedition-open .topbar h1 { font-size: .98rem; margin: 0; letter-spacing: .03em; }
  body.expedition-open .topbar__actions { width: auto; flex: 0 0 auto; }
  body.expedition-open .patreon-button { min-width: 36px; width: 36px; min-height: 36px; padding: 8px; }
  body.expedition-open .patreon-button span { display: none; }
  body.expedition-open .status-bar { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 8px; padding: 9px; min-height: 0; }
  body.expedition-open .status-item, body.expedition-open .status-meter { min-width: 0; min-height: 0; padding: 0; }
  body.expedition-open .status-item strong, body.expedition-open .status-meter__label strong { font-size: .72rem; }
  body.expedition-open .status-item span, body.expedition-open .status-meter__label span { font-size: .59rem; }
  body.expedition-open .status-meter__label { gap: 3px; margin-bottom: 4px; }
  body.expedition-open .status-meter progress { height: 5px; }
  body.expedition-open #fatigueState { font-size: .5rem; margin-top: 2px; }
  body.expedition-open .world-location-header { display: flex; flex-direction: row; flex-wrap: wrap; gap: 7px; padding: 9px; }
  body.expedition-open .world-location-header .eyebrow { display: none; }
  body.expedition-open .world-location-header .world-page__header-actions { display: flex; flex-direction: row; flex-wrap: wrap; gap: 7px; width: auto; }
  body.expedition-open .world-location-header .button { width: auto; min-height: 34px; padding: 7px 10px; font-size: .7rem; }
  .expedition-hud { gap: 8px 12px; }
  .expedition-route-label { flex-basis: 100%; }
  .expedition-bag { margin-left: auto; }
  .expedition-pin__dot { width: 30px; height: 30px; }
  .expedition-pin__label { font-size: .53rem; padding: 3px 4px; max-width: 105px; white-space: normal; }
  .expedition-scene-caption { font-size: .61rem; padding: 7px 9px; }
  .expedition-object-list { grid-template-columns: 1fr; }
  .expedition-footer { align-items: stretch; }
  .expedition-field-actions { width: 100%; }
  .expedition-field-actions .button { flex: 1 1 130px; }
}
@media (prefers-reduced-motion: reduce) {
  .expedition-weather, .expedition-result { animation: none; }
  .expedition-player, .expedition-pin__dot, .expedition-method { transition: none; }
}
